home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / mis_util / doscall / call.txt < prev   
Encoding:
Text File  |  1991-08-05  |  1.3 KB  |  35 lines

  1.  
  2. To:  The Public Domain & Free Software Users of the New World Order...
  3. Fr:  Me.  (jdunn@dsac.dla.mil)
  4. Da:  5 Aug 1991
  5. Re:  DOSCALL0.ZIP - a free implementation of the DOS >= 3.3 CALL function
  6.  
  7.  
  8. Recently gmcmanus@dsac.dla.mil noted a problem that some users have with
  9. older versions of DOS.  The problem being one of needing the call function
  10. found in later versions of DOS.
  11.  
  12. Gene's solution was to simply write a C program named CALL.C, compile it,
  13. and post it.  At first I thought, uh oh, but then I tested it and found
  14. that it only used about 14.5k of memory according to mapmem.  This was
  15. impressive since I have tried to write similar code, using the C system
  16. function, and couldn't get memory usage below 70k.
  17.  
  18. Hat's off to Gene and his 1988 Microsoft C compiler, however he does it!
  19.  
  20. Now, here's the *better* solution.
  21.  
  22. First, I've written a CALL.BAT file which contains the following lines:
  23.  
  24.         @echo off
  25.         %1 %2 %3 %4 %5 %6 %7 %8 %9
  26.  
  27. Meaning that, as long as I have no more than 8 parameters to pass, all
  28. will be fine.  Of course, the CALL.BAT file is compiled into CALL.COM
  29. using the BAT2EXEC program from PCMAGazine.  (which I got from Garbo,
  30. due to Prof. Salmi making it available;  gotcha Timo!  :)
  31.  
  32. Best of Skill!       :)
  33. Jim, jdunn@dsac.dla.mil
  34.  
  35.